package com.neusoft.neuiotms.dcam.fixed.service.spareconsume;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.spareconsume.SpareConsumeBackDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface SpareConsumeBackService {

    List<SpareConsumeBackDTO> create(List<SpareConsumeBackDTO> dtos, UserBean user);

    List<SpareConsumeBackDTO> detail(String workNum, String taskId, UserBean user);

    Page<SpareConsumeBackDTO> search(Pageable pageable, Searchable searchable);
}
